home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
music
/
sfxbn40m.lha
/
sfx-bin
/
Rexx
/
tester-2.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-12-23
|
604b
|
32 lines
/* SFX Arexxtester */
options results
ADDRESS REXX_SFX
say '
SFX-ArexxTester
';say;
PutSample '595880 12000 basedrum 1';
if RC~=0 then call AppError('PutSample',RC);
say 'press key to continue';
pull;
GetSample '595880 1'
if RC~=0 then call AppError('GetSample',RC);
exit
AppError:procedure
cmd=arg(1);
ret=arg(2);
say '
Application Error
';say;
say 'Command 'cmd' failed with Returncode 'ret;
select
when ret='1' then say ' => unknown command';
when ret='2' then say ' => unknown parameter';
otherwise say ' => unknown returncode';
end
say;
return